random string generator lua

302

random string generator lua -

function RandomVariable(length)
	local res = ""
	for i = 1, length do
		res = res .. string.char(math.random(97, 122))
	end
	return res
end

Comments

Submit
0 Comments